package com.chtw.vuedemo.service.impl;

import com.chtw.vuedemo.bean.Swipe;
import com.chtw.vuedemo.bean.SwipeExample;
import com.chtw.vuedemo.mapper.SwipeMapper;
import com.chtw.vuedemo.service.inf.SwipeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author chtw
 * @date 2020-10-03 20:42
 */
@Service
public class SwipeServiceImpl implements SwipeService {
    @Autowired
    private SwipeMapper swipeMapper;

    @Override
    public List<Swipe> list() {
        return swipeMapper.selectByExample(new SwipeExample());
    }
}